package cn.gson.school.dao.jiuye;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import cn.gson.school.entity.jiuye.InterviewMaterialsEntity;

/**
 * 查询面试资料信息
 * @author 华少
 *
 */
@Repository
public interface InterviewMaterialsEntityDao extends CrudRepository<InterviewMaterialsEntity, Long> {
	@Query(nativeQuery = true, value = "select * from tb_jy_interview_materials where interview_id=?1")
	List<InterviewMaterialsEntity> chaxunziliao(Long Id);
}
